//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.requst;

import org.springframework.web.multipart.MultipartFile;

public class RegimentalReq {
    private MultipartFile face;
    private MultipartFile alive;
    private String name;
    private String idCard;

    public RegimentalReq() {
    }

    public MultipartFile getFace() {
        return this.face;
    }

    public MultipartFile getAlive() {
        return this.alive;
    }

    public String getName() {
        return this.name;
    }

    public String getIdCard() {
        return this.idCard;
    }

    public void setFace(final MultipartFile face) {
        this.face = face;
    }

    public void setAlive(final MultipartFile alive) {
        this.alive = alive;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public void setIdCard(final String idCard) {
        this.idCard = idCard;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof RegimentalReq)) {
            return false;
        } else {
            RegimentalReq other = (RegimentalReq)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label59: {
                    Object this$face = this.getFace();
                    Object other$face = other.getFace();
                    if (this$face == null) {
                        if (other$face == null) {
                            break label59;
                        }
                    } else if (this$face.equals(other$face)) {
                        break label59;
                    }

                    return false;
                }

                Object this$alive = this.getAlive();
                Object other$alive = other.getAlive();
                if (this$alive == null) {
                    if (other$alive != null) {
                        return false;
                    }
                } else if (!this$alive.equals(other$alive)) {
                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$idCard = this.getIdCard();
                Object other$idCard = other.getIdCard();
                if (this$idCard == null) {
                    if (other$idCard != null) {
                        return false;
                    }
                } else if (!this$idCard.equals(other$idCard)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof RegimentalReq;
    }

    public int hashCode() {

        int result = 1;
        Object $face = this.getFace();
        result = result * 59 + ($face == null ? 43 : $face.hashCode());
        Object $alive = this.getAlive();
        result = result * 59 + ($alive == null ? 43 : $alive.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $idCard = this.getIdCard();
        result = result * 59 + ($idCard == null ? 43 : $idCard.hashCode());
        return result;
    }

    public String toString() {
        return "RegimentalReq(face=" + this.getFace() + ", alive=" + this.getAlive() + ", name=" + this.getName() + ", idCard=" + this.getIdCard() + ")";
    }
}
